<!--
 * @Author: your name
 * @Date: 2021-08-25 09:52:04
 * @LastEditTime: 2021-09-10 14:04:21
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \musicapp\src\App.vue
-->
<template>
  <div>
    <router-view/>
    <playController></playController>
  </div>
</template>
<script>
import playController from '@/components/playController.vue'
export default {
  components:{
    playController
  },
  mounted(){
    if(localStorage.userData){
    let userData = JSON.parse(localStorage.userData)
    this.$store.commit('setUser',userData)
    }
  }
}
</script>
<style lang="less">
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: '微软雅黑';
}
.icon{
  width: 0.3rem;
  height: 0.3rem;
}
a{
  color: #333;
  text-decoration: none;
}
</style>
